import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JTextField;

public class ChooseListener implements ActionListener {
    GenerateMask generateMask = new GenerateMask();
    boolean[][] mask = new boolean[9][9];
    public void actionPerformed(ActionEvent e) {
        if(e.getActionCommand().equals("easy")) new GameDialog("easy");
        if(e.getActionCommand().equals("intermediate")) new GameDialog("intermediate");
        if(e.getActionCommand().equals("difficult")) new GameDialog("difficult");
    }

}
